package com.zzk.audiovideodemo.surfaceview.view;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.blankj.utilcode.util.LogUtils;
import com.zzk.audiovideodemo.R;

/**
 * @ProjectName: AudioVideoDemo
 * @Package: com.zzk.audiovideodemo.surfaceview.view
 * @ClassName: SurfaceViewSinActivity
 * @Description:
 * @Author: brilliantzhao
 * @CreateDate: 2021.3.8 16:55
 * @UpdateUser:
 * @UpdateDate: 2021.3.8 16:55
 * @UpdateRemark:
 * @Version: 1.0.0
 */
public class SurfaceViewSinActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LogUtils.i("SurfaceViewSinActivity->onCreate");
        setContentView(R.layout.activity_surfaceviewsin);
    }

    @Override
    protected void onStart() {
        super.onStart();
        LogUtils.i("SurfaceViewSinActivity->onStart");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        LogUtils.i("SurfaceViewSinActivity->onRestart");
    }

    @Override
    protected void onResume() {
        super.onResume();
        LogUtils.i("SurfaceViewSinActivity->onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        LogUtils.i("SurfaceViewSinActivity->onPause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        LogUtils.i("SurfaceViewSinActivity->onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        LogUtils.i("SurfaceViewSinActivity->onDestroy");
    }

    @Override
    protected void onRestoreInstanceState(@NonNull Bundle savedInstanceState) {
        super.onRestoreInstanceState(savedInstanceState);
        LogUtils.i("SurfaceViewSinActivity->onRestoreInstanceState");
    }

    @Override
    protected void onSaveInstanceState(@NonNull Bundle outState) {
        super.onSaveInstanceState(outState);
        LogUtils.i("SurfaceViewSinActivity->onSaveInstanceState");
    }

    @Override
    public void onLowMemory() {
        super.onLowMemory();
        LogUtils.i("SurfaceViewSinActivity->onLowMemory");
    }

    @Override
    public void onTrimMemory(int level) {
        super.onTrimMemory(level);
        LogUtils.i("SurfaceViewSinActivity->onTrimMemory level = " + level);
    }
}
